package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportVisitsLogDTO;
import com.hunttown.mes.rpc.domain.query.TransportVisitsLogDTOQuery;

/**
 * created by wangjunfu on 2022-09-16 18:56:08
 */
public interface TransportVisitsLogRpcService {

    TransportVisitsLogDTO insert(TransportVisitsLogDTO transportVisitsLogDTO);

    Boolean updateInfoById(TransportVisitsLogDTO transportVisitsLogDTO);

    Boolean updateInfoByQuery(TransportVisitsLogDTOQuery transportVisitsLogDTOQuery);

    TransportVisitsLogDTO selectById(Integer id);

    TransportVisitsLogDTO selectObjByQuery(TransportVisitsLogDTOQuery transportVisitsLogDTOQuery);

    Page<TransportVisitsLogDTO> getListForPage(TransportVisitsLogDTOQuery transportVisitsLogDTOQuery);

    Long getTotalVisits(TransportVisitsLogDTOQuery transportVisitsLogDTOQuery);
}